package com.ruoyi.basic.service;

import java.util.List;

import com.ruoyi.basic.domain.BasicDuty;
import com.ruoyi.basic.domain.BasicEducate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basic.domain.BasicUser;
import com.ruoyi.basic.domain.BasicWork;

/**
 * 教育经历Service接口
 * 
 * @author ruoyi
 * @date 2021-08-22
 */
public interface IBasicEducateService extends IService<BasicEducate>
{
    /**
     * 查询教育经历
     * 
     * @param educateId 教育经历主键
     * @return 教育经历
     */
    public BasicEducate selectBasicEducateByEducateId(Long educateId);

    /**
     * 查询教育经历
     *
     * @param educateIds 教育经历主键
     * @return 教育经历
     */
    public List<BasicEducate> selectBasicEducateByEducateIds(String educateIds);

    /**
     * 查询教育经历列表
     * 
     * @param basicEducate 教育经历
     * @return 教育经历集合
     */
    public List<BasicEducate> selectBasicEducateList(BasicEducate basicEducate);

    /**
     * 新增教育经历
     * 
     * @param basicEducate 教育经历
     * @return 结果
     */
    public int insertBasicEducate(BasicEducate basicEducate);

    /**
     * 修改教育经历
     * 
     * @param basicEducate 教育经历
     * @return 结果
     */
    public int updateBasicEducate(BasicEducate basicEducate);

    /**
     * 批量删除教育经历
     * 
     * @param educateIds 需要删除的教育经历主键集合
     * @return 结果
     */
    public int deleteBasicEducateByEducateIds(String educateIds);

    /**
     * 删除教育经历信息
     * 
     * @param educateId 教育经历主键
     * @return 结果
     */
    public int deleteBasicEducateByEducateId(Long educateId);

    /**
     * 检验教育信息是否已录入
     *
     * @param basicEducate 教育信息
     * @return 结果
     */
    public String checkUserEducateUnique(BasicEducate basicEducate);

    /**
     * 导入员工教育经历
     *
     * @param educateList 员工教育经历列表
     * @param operName 操作用户
     * @return 结果
     */
    public String importEducate(List<BasicEducate> educateList, Boolean isUpdateSupport, String operName);
}
